import { observable, autorun, configure, action, runInAction} from 'mobx'
import { getDataAnylysis } from './DataAnalysisServ.js'

class DataAnalysis {
	@observable list = []
	@observable seven = {}

	@action
	doGetDataAnalysis = () => {
		return getDataAnylysis().then((res) => {
			this.list = res.data.list
			this.seven = res.data.seven
			return Promise.resolve(this.list)
		})
	}
} 



export default DataAnalysis